<?php

$csv = array();

if (($handle = fopen("file.csv", "r")) !== FALSE) {
    while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
//print_r($data);exit;
      echo "Test<br>";
      $csv[] = $data;
    }
    fclose($handle);
}

print_r($csv);
